func runtime.readgstatus
38 uses
runtime (current package)
heapdump.go#L359: dumpint(uint64(readgstatus(gp)))
heapdump.go#L411: status := readgstatus(gp) // The world is stopped so gp will not be in a scan state.
mgcmark.go#L140: "status", readgstatus(gp),
mgcmark.go#L207: status := readgstatus(gp) // We are not in a scan state
mgcmark.go#L220: selfScan := gp == userG && readgstatus(userG) == _Grunning
mgcmark.go#L721: if readgstatus(gp)&_Gscan == 0 {
mgcmark.go#L722: print("runtime:scanstack: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", hex(readgstatus(gp)), "\n")
mgcmark.go#L726: switch readgstatus(gp) &^ _Gscan {
mgcmark.go#L728: print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
mgcmark.go#L733: print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
mprof.go#L766: return gp1 != gp && readgstatus(gp1) != _Gdead && !isSystemGoroutine(gp1, false)
panic.go#L1231: status := readgstatus(gp)
preempt.go#L106: if mp := getg().m; mp.curg != nil && readgstatus(mp.curg) == _Grunning {
preempt.go#L123: switch s := readgstatus(gp); s {
preempt.go#L265: switch s := readgstatus(gp); s {
preempt.go#L344: return (gp.preempt || gp.m.p != 0 && gp.m.p.ptr().preempt) && readgstatus(gp)&^_Gscan == _Grunning
proc.go#L350: status := readgstatus(gp)
proc.go#L532: if readgstatus(gp) == _Gidle {
proc.go#L753: print("runtime: gp: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
proc.go#L754: print("runtime: g: g=", _g_, ", goid=", _g_.goid, ", g->atomicstatus=", readgstatus(_g_), "\n")
proc.go#L846: status := readgstatus(gp)
proc.go#L898: func readgstatus(gp *g) uint32 {
proc.go#L1034: oldstatus := readgstatus(gp) &^ _Gscan
proc.go#L2423: status := readgstatus(_g_.m.lockedg.ptr())
proc.go#L3340: status := readgstatus(gp)
proc.go#L3389: status := readgstatus(gp)
proc.go#L4090: if readgstatus(newg) != _Gdead {
proc.go#L4188: if readgstatus(gp) != _Gdead {
proc.go#L4981: s := readgstatus(gp)
proc.go#L5403: print(" G", gp.goid, ": status=", readgstatus(gp), "(", gp.waitreason.String(), ") m=", id1, " lockedm=", id2, "\n")
signal_unix.go#L747: if crashing > 0 && gp != _g_.m.curg && _g_.m.curg != nil && readgstatus(_g_.m.curg)&^_Gscan == _Grunning {
stack.go#L1043: print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->status=", hex(readgstatus(gp)), "\n ")
stack.go#L1162: if s := readgstatus(gp); s&_Gscan == 0 {
trace.go#L227: status := readgstatus(gp)
traceback.go#L819: if readgstatus(gp)&^_Gscan == _Gsyscall {
traceback.go#L983: gpstatus := readgstatus(gp)
traceback.go#L1038: if gp == me || gp == curgp || readgstatus(gp) == _Gdead || isSystemGoroutine(gp, false) && level < 2 {
traceback.go#L1047: if gp.m != getg().m && readgstatus(gp)&^_Gscan == _Grunning {